package com.sjk.eurekacar.mapper;

import com.sjk.eurekacar.entity.TCar;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sjk.eurekacar.entity.TPerson;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sjk
 * @since 2021-11-05
 */
public interface TCarMapper extends BaseMapper<TCar> {
    @Select("select * from t_person where name=#{uname}")
    TPerson getname(String uname);
    void saveperson(TPerson tPerson);
}
